Resource URL: /platform/<<version=3>>/local/cluster/nodes/<LNN>/status/batterystatus

    Overview: This resource applies the standard collection pattern to
              individual nodes.  LNN in the resource path is the node lnn ID.

     Methods: GET

********************************************************************************

Method GET: Retrieve node battery status information.

       URL: GET
            /platform/<<version=3>>/local/cluster/nodes/<LNN>/status/batterystatus

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "nodes": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Battery status information.", 
            "properties": {
              "status1": {
                "type": "string", 
                "description": "The status of battery 1."
              }, 
              "status2": {
                "type": "string", 
                "description": "The status of battery 2."
              }, 
              "supported": {
                "type": "boolean", 
                "description": "Node supports battery status."
              }, 
              "result2": {
                "type": "string", 
                "description": "The result of the last battery test for battery 2."
              }, 
              "id": {
                "type": "integer", 
                "description": "Node ID (Device Number) of this node."
              }, 
              "next_test_time1": {
                "type": "string", 
                "description": "The next checkup for battery 1."
              }, 
              "last_test_time1": {
                "type": "string", 
                "description": "The last battery test time for battery 1."
              }, 
              "last_test_time2": {
                "type": "string", 
                "description": "The last battery test time for battery 2."
              }, 
              "lnn": {
                "type": "integer", 
                "description": "Logical Node Number (LNN) of this node."
              }, 
              "result1": {
                "type": "string", 
                "description": "The result of the last battery test for battery 1."
              }, 
              "next_test_time2": {
                "type": "string", 
                "description": "The next checkup for battery 2."
              }, 
              "present": {
                "type": "boolean", 
                "description": "Node has battery status."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "total": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Total number of items available.", 
          "maximum": 4294967295
        }
      }
    }
  ]
}
